﻿#pragma once

#include "kernel/kernel.h"

namespace CAGD
{

/**
 * 几何类型.
 */
enum class GeomType
{
    BASE,
    CURVE,
    MESH,
    POINT,
    POINTREF,
    SURFACE,
    VECTOR
};

/**
 * 几何基类.
 */
class GeomBase
{
  public:
    /**
     * @brief 返回类型.
     * @return
     * @see
     */
    virtual GeomType Type() const = 0;
};

} // namespace CAGD
